<?php

  class FullHouseCategory extends Category
  {
    public function __construct($name, Dice $dice)
    {
      parent::__construct($name, $dice);

      $diceCount = $dice->getValueCount();
      if($diceCount[0] == 3 && $diceCount[1] == 2) {
        $this->score = 25;
      } else {
        $this->score = 0;
      }
    }
  }
  
?>